package cn.lhl.service.impl;

import cn.lhl.beans.Stuck;
import cn.lhl.dao.IStuckDao;
import cn.lhl.service.IStuckService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * Created by Administrator on 2017/4/6/006.
 */
@Service("stuckService")
public class StuckServiceImpl implements IStuckService {
    @Resource
    private IStuckDao iStuckDao;
    public void addStuck(Stuck stuck) {
        iStuckDao.addStuck(stuck);
    }

    public IStuckDao getiStuckDao() {
        return iStuckDao;
    }

    public void setiStuckDao(IStuckDao iStuckDao) {
        this.iStuckDao = iStuckDao;
    }
}
